package com.lagou.controller;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @Authther: mrwu
 * @date:2021/3/27-03
 * @Description:com.lagou.controller
 */

@RestController
public class Usercontroller {
    @GetMapping("/test")
    public String test(){
        return "sucess";
    }
    @GetMapping("/hello")
    public String test2(){
        System.out.println("hello2");
        return "test2";
    }

}
